|
Ant Farm - Robert Glen Martin School for the Talented and Gifted Dallas I.S.D. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectinfo.gridworld.actor.Actor
Food
Cake
public class Cake
A Cake sits around and waits for a
WorkerAnt to get food from it.
It does not act.
| Field Summary | |
|---|---|
private static int |
BITE
The size of a bite |
| Constructor Summary | |
|---|---|
Cake()
Constructs a Cake actor. |
|
| Method Summary |
|---|
| Methods inherited from class Food |
|---|
act, process, toString |
| Methods inherited from class info.gridworld.actor.Actor |
|---|
getColor, getDirection, getGrid, getLocation, moveTo, putSelfInGrid, removeSelfFromGrid, setColor, setDirection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final int BITE
| Constructor Detail |
|---|
public Cake()
Cake actor. The Cake.gif is
displayed for this actor without tinting.
|
© 2007 Robert Glen Martin. All rights reserved. |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||